package com.telit.firecommand.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.telit.firecommand.entity.CommEvent;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;


/**
 * @Auther amy
 * @Describe
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommEventDTO extends CommEvent implements Serializable {

    @ApiModelProperty(value = "查询开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String queryStartTime;

    @ApiModelProperty(value = "查询结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String queryEndTime;

    @ApiModelProperty(value = "行政区划名称")
    private String districtName;

    @ApiModelProperty(value = "接收人")
    private String receiver;

    @ApiModelProperty(value = "多媒体集合")
    private List<String> imgUrlList;

    @ApiModelProperty(value = "处置人名称")
    private String handleName;

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "行政区划代码")
    private String districtCode;

}
